package com.dinglian.ots.vo.product;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wangbo
 */
@Data
public class EditProductVo {

    @NotNull(message = "产品ID不能为空")
    private Integer id;

    private String name;

    private String title;

    private Integer seasonId;

    private String stylename;

    private Integer categoryId;

    private Integer subcategoryId;

    private Integer colorId;

    private String fabrication;

    private String bulk;

    private String materials;

    private String description;

    private String sellingPrice;

    private String costPrice;

    private String markDown;

    private String markUp;

    private String discount;

    private String units;

    private Integer sort;

    private Integer styleMinimum;

    private Integer colorMinimum;

    private MultipartFile thumbnail;

    private MultipartFile whitePic;

    private MultipartFile[] details;

}
